﻿<%@ Page Language="C#" MasterPageFile="~/NhaCungCap.Master" AutoEventWireup="true" CodeBehind="GioiThieuSP.aspx.cs" Inherits="GiaoDien.WebForm11" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="NoiDungChinh3" runat="server">
    <div id="content_top"></div>
<div id="content_middle">
	<h3>Giới thiệu sản phẩm</h3>
    <div class="detail_box">
        <div class="sidebar_box_content">
          <p>
              <asp:Label ID="lblThongBao" runat="server"></asp:Label></p>
            <table width="100%" border="1" cellspacing="2" cellpadding="2">

              <tr>
                <td>Tên sản phẩm</td>
                <td><label>
                  &nbsp;<asp:TextBox ID="txtTenSP" runat="server" Width="200px"></asp:TextBox></label></td>
              </tr>
              <tr>
                <td>Số lượng cung cấp</td>
                <td><label>
                  &nbsp;<asp:TextBox ID="txtSoLuongCungCap" runat="server" Width="200px"></asp:TextBox></label></td>
              </tr>
              <tr>
                <td>Giá bán</td>
                <td><label>
                  &nbsp;<asp:TextBox ID="txtGiaBan" runat="server" Width="200px"></asp:TextBox></label></td>
              </tr>
              <tr>
                <td>Giá bán quy định</td>
                <td><label>
                  &nbsp;<asp:TextBox ID="txtGiaBanToiDa" runat="server" Width="200px"></asp:TextBox></label></td>
              </tr>
              <tr>
                <td>Hình ảnh</td>
                <td>
                    Ảnh :<br />
                    <asp:Image ID="Image2" runat="server" Height="100px" 
                        ImageUrl='<%# Bind("URLPersonalPhoto") %>' Width="144px" />
                    <br />
                    Đường dẫn đến ảnh :<br />
                    <asp:TextBox ID="txtTenHinh" runat="server" Height="22px" 
                        Text='<%# Bind("URLPersonalPhoto") %>' Width="304px"></asp:TextBox>
                    <br />
                    Chọn hình :<br />
                    <asp:FileUpload ID="FileUpload1" runat="server" Height="20px" Width="297px" />
                    <br />
                    <asp:Button ID="btnUpHinh" runat="server" 
                        Text="Up hình" oncommand="btnUpHinh_Command" />
                </td>
              </tr>
              <tr>
                <td>Mô tả</td>
                <td><label>
                  &nbsp;<asp:TextBox ID="txtMoTa" runat="server" TextMode="MultiLine" Width="200px"></asp:TextBox></label></td>
              </tr>
              <tr>
                <td colspan="2" align="center">
                    <asp:Button ID="btnThem" runat="server" onclick="btnThem_Click" Text="Thêm" />
                    <label>
                        <asp:Button ID="btnReset" runat="server" Text="Reset" />
                </label></td>
              </tr>
            </table>
         
          
          
          
          
        </div>
      <p>
    </div>
    
  <div class="cleaner"></div>
            
</div>
<div id="content_bottom"></div>
</asp:Content>
